package com.song.sort;

public class CompareToTest {

    public static void main(String[] args){

        String str1 = "abc";
        String str2 = "cd";
       // System.out.println(str1.compareTo(str2));

        int low = 1 ;
        int high = 11 ;
        int mid = (low + high ) >>> 1 ;
        int mid2 = (low + high ) >> 1;
        System.out.println(12 >>> 3);  //1
        System.out.println(-12 >> 3);  //-2
        System.out.println(Integer.toBinaryString(-12));
        System.out.println(Integer.toBinaryString(-2));
        System.out.println(-12 >>> 3);  //536870910
        System.out.println(Integer.toBinaryString(536870910));
        System.out.println(mid2);

        for (int i  = 100 ; i > 0 && 1 > 0; i--){

        }
    }
}
